fix some bugs in providermongo, add benchmark for getdocumentunique