ENH: more explicit failure messages in test_common