I did this so I can test a path in my app that redirects to an external service (twitter oauth) without causing the test to actually request the page from twitter.
I also added a devDependency for connect, which is loaded here:
Add an option followRedirects to Browser to optionally allow NOT foll…
…owing a redirect.
Add dev dependency for connect