Fixing test_mongo esp import and linter