added test for model, migration, and models