Added the getUnits() test