Some tests for the model and controller