Fixing failing tests on on older python.