Fix values_list without fields; refactor tests (ref #263).