Bring back basic logging for tests

Having no logging in tests is masking certain
errors and warning, which should not be ignored
and can help in debugging unexpected test failures.