Add tests for models