Add tests for model.app.js