fix callback and more complete test
<3 travis