Test for mongodb persistor.