'Ensure that you can get a dbref of a document.'

def test_to_dbref(self):

    person = self.Person(name='Test    User', age=30)
    self.assertRaises(OperationError, person.to_dbref)
    person.save()
    person.to_dbref()
