Added test cases for the methods getValue() and getUnits() and commented to explain the test cases