fixes test
Merge pull request #2 from JonTurner/fix-test

fixes test
Let eventsource wait for new events and allow them to be set through mailbox.
Not sure if this is a safe/proper way to do this but it works :x