ADDED:Python MongoDB related testing code;