Adding some logging for test failure investigation