Change test_dialer to wait for the call to be in dialing state