updates test failure to include error message output