add test for query string by order