PYTHON-525 - Fix overflow error when testing on Windows