You can use `app.listen(0)` and have the kernel assign the first available port. Using [`net.Server#address`](http://nodejs.org/docs/latest/api/net.html#net_server_address) you can figure out what port it assigned. I think this is preferable to hardcoding the port or figuring it out from the ENV – I think tests should "just work" with as little configuration as possible.