Fix errors in testsuite when Mongo model is used
Merge pull request #65 from mposolda/master

Fix errors in testsuite when Mongo model is used