Randomize port for test server