Fixed tests since change of app.js