def get_max_test(tests):
    """
    Returns the test with the maximum value.

    Args:
        tests (list): List of tuples containing test data.

    Returns:
        tuple: The test with the maximum value.
    """
    if not tests:
        return None  # or raise an exception, depending on requirements
    max_test = max(tests, key=lambda x: x[1])
    return max_test

# Example usage:
tests = [('evolved_verified_generate_test_1768680667', 4235.89001196408, 51, 8305.7),
         ('verified_default', 4235.0, 51, 8303.9),
         ('evolved_verified_create_memory_1768424362', 4235.89001196408, 52, 8145.9)]
print(get_max_test(tests))