Add SingleQueryHasNextQueryResult
test case
#3311
Merged
SingleQueryHasNextQueryResult
test case
#3311