now tests passed for python3