Add tests for app models