Created a model and added a test for the model