created tests for each class used in model and view