fixing test on python3