Fix flaky test failing at the end of the month.
Test against multiple Pymongo versions.