def build_test_gui_item(modes, buf_size, max_freq):
    """Create a dictionary object with all required key-pair values, to be used
    for testing the GUI method.
    """
    return {"allowedModeList": modes,
            "allowedBufferSize": buf_size,
            "allowedMaxFrequency": max_freq}