Started using self.assertRaises in test_models.