Added error message output for detecting which tests were failed