fix skipping items in batch requests

and better test for batches.

fixes #15