MongoDB: add the db select configure
Mongodb: fix the mongodb test