Fix testsuite for mongo