Test a more flexible approach allowing list of mixed dtypes.