FIxed tests in python3