Added new test case with longer query using persistent connection