remove an unnecessary import + unit test for _id in as_pymongo()