Prevent logs in tests