Test for mongodb performance