improve test failure message output