Python 3: fix a test in units.py