DOL-98 :Added test cases for Codec.