Fix unittests for Units.