Fix testsuite for mongo
Merge pull request #321 from stianst/master

Fix testsuite for mongo