Added tests for app.js