Bring back basic logging for tests

Having no logging in tests masks certain errors and warnings, which should not be ignored and can help in debugging unexpected test failures; especially with errors that arise only when running entire test suites.