test: better output if a test fails