Tested getUnits method
implemented tests to check for all 3 possible unit cases