"""detect_errors tests."""