SERVER-10532 batch write executor and unit tests