tests: support python 3.2