Removing unused local variables
Fixing test - number of items to prefetch has been exposed as a separate configurable option
Fixing the following issue: if a conflict doc and and original one were indexed in the same batch neither of them was actually indexed - what caused that querying didn't throw the ConflictException. In order to fix that we don't consider the conflict document as a duplicate what allows to index the __document_id field of the original one.