def set_test_mode(max_length_threshold: int=244):
    """Only used for unit testing
    """
    global test_mode
    global FULL_LENGTH_WARNING_THRESHOLD
    test_mode = True
    FULL_LENGTH_WARNING_THRESHOLD = max_length_threshold
