Use sinon-chai matchers.
Rewrite tests for app.js