fixed convert_query_to_url and wrote test for row size