Fix errors in testsuite when Mongo model is used