Updated end to end tests to use process.env.PORT as well