Added a test for query options