Added a Generic type for DataQueryResultIterator and a real connection test