Added fetching of results using iterators / generators and more tests.