#38 Fix a Python 3 issue in document tests