increased test timeout for blackbox tests. refactor of app.js