Really basic test for the batched result iterator (and bugfix in the class)