Use GetClient in the test to get a client with the right port