minor: better tests for query opts