Avoid log output in tests