Unit testing finished for models.