fixed app.js to run all tests