Add tests for model