I've updated the tests to use PHPunit assertions rather than hamcrest so that I am testing a more straightforward setup with Travis.