Unit tests for parse functions

We unit test the following functions:-
  parseClockValue
  parseOffsetValue
  parseBeginEndValue
  parseBeginEnd