add tests for python3