Test key for MongoDB