BatchReader fix, fixes issue #116
Test