Added more cases to test getValue() and getUnits()