test: refactor logic for unified topology filter
test: refactor logic for unified topology filter

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