Make implicit port dependencies between tests and harness explicit.

The harness starts the services before calling the tests, so it chooses the ports.  Formerly the tests set these directly, creating an implicit dependency between the two.  Now the tests now receive the port numbers from the harness.