Removed broken tests and did some minor refactorings
Removed broken tests and did some minor refactorings

mongodb/node-mongodb-native,mongodb/node-mongodb-native,mongodb/node-mongodb-native,mongodb/node-mongodb-native