'Tests that models can be saved and retrieved, this time using the
natural model instantiation.'

def test_model_instantiation_save_and_load(self):

    tm = TestModel(count=8, text='123456789')
    self.assertIsNotNone(tm['id'])
    self.assertEqual(tm.count, 8)
    self.assertEqual(tm.text, '123456789')
    tm.save()
    tm2 = TestModel.objects(id=tm.id).first()
    for cname in tm._columns.keys():
        self.assertEqual(getattr(tm, cname), getattr(tm2, cname))
