Changed passed objects from ports to URLs
Make scheduler explicitly listen to the testing port.