fixing output issue with failed tests