Add log message for test failure