wrote tests for every rest call + crud operations to the model