Add wait to dialer test

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>