more tests for units.py