Your tests are fine when making a single request to the collection resource, but I'm talking about when you loop through it; I don't see tests that show that.

Let's say you want to loop though all groups of a directory, but you want the limit to be 100 so the SDK only calls the server every 100 items while looping. I don't see how this implementation is going to work correctly for this scenario.