Yes, send to self from the spawn and receive after. You can't do tests that use :timer.sleep on Travis, the test machines are regularly so slow that my timer:sleep(500) usage in Poolboy is causing tests to fail all the time.