Show raw log output upon failed tests.
Fix compile warnings in tests