initial port to python3
updating test script for python3