python3: apply 2to3 to tests