Add more test code to app.coffee