added tests for graph.unlink
queries are now iterators that transparently ask for new bacthes when needed