Add tests for query string parser