fixed undefined test issue on 2.4.x
fixed undefined test issue on 2.4.x

andrasq/mongodb-core,andrasq/mongodb-core,christkv/mongodb-core,mongodb-js/mongodb-core,christkv/mongodb-core,mongodb-js/mongodb-core