Initial commit of app.js
Adding tests for app.js