Extract helper method in tests
Calling toFluentIterable should always close FluentCursor