Fix call_and_wait test
Use a random port for web profile tests