test adapter_select: add a test that checks a pattern output_columns has function and columns