make it possible to bypass check for error logs in tests