added app.js tests
tidy up & readme improvements