Improve complex test for `Query\Select`