Written tests for models.