fixed running tests in python3