Fixed broken tests.

Letting IOLoop pick a port and using that. Mojo::IOLoop->generate_port
has been removed.
Testing for bad port will still now use
Mojo::IOLoop::Server->generate_port