migrated test to python3