make sure to listen for a test listener server on startup

@ussuri @dinhviethoa

Make sure to listen for a test listener server on startup - should fix our buildbot.