Remove test script name output from 'make test'.
Factor out user/host/port parsing into functions for unit testing.
Add unit tests for user/host/port parsing.