Delete test file in tests.
Throw on invalid port.

Basically doing this just to close #194, since it's not worth arguing over.