tests for query text lists and sets. TODO: prepared statements