add test for query string