Fix test to wait for listen to complete