Fix tests for Python3.3