Test max_pool_size=None. PYTHON-566

Reproduces TypeError in Python 3 when max_pool_size is None.
Fix TypeError in Python 3 when max_pool_size is None. PYTHON-566