Mongoose db driver tests.