Fix unittests for ArrayWithUnit