test: use "receive" event to detect message is sent instead of wait()
test: use "receive" event to detect message is sent instead of wait()

wait() makes test fragile.

droonga/express-droonga,KitaitiMakoto/express-droonga,KitaitiMakoto/express-droonga,droonga/express-droonga