Made changes to the tests to support Express 4's change to res.redirect function