add models.py test coverage