prettify failure messages in preparation tests
fix travis build