Refactoring website tests to spy on app.render and avoid dealing with rendered page altogether.