Added a test for issue 474

To test that setting batchSize(int) would not limit the number of
objects returned