Add tests for the model