Changed some of the model's code and created test suites to test the functionality of the  models