Added testGetValue() and testGetUnit() tests
Also added the test cases and comments explaining the tests