Added additional logging for failed tests