fix tests in python3.3