Fix failing tests in python3k.