Added getHost method to test utils to allow functional tests to be run on remote hosts.