def METHOD_NAME(self, test):
    if test.get("output"):
        # This test is already converted, ignoring it
        return test
    result = {}
    outputs = test.pop("output_variables")
    inputs = test.pop("input_variables", {})
    for key, value in test.items():
        if key in TEST_METADATA:
            result[key] = value
        else:
            inputs[key] = value
    result["input"] = self.convert_inputs(inputs)
    result["output"] = outputs
    return result