Fixed unit test for python3. int('+ 1') works in python2 but not python3. Also corrected a unit test.