built tests for the models