Added batchWrite tests and modified signature
0.1.6