QUERY_STRING test code added