Installs a WSGI application in place of a real URI for testing.