added version detect for mongo db, try to fix Codeship test error