Catch published messages in testing
Merge pull request #10 from ysbaddaden/testing

Catch published messages in testing (minitest)