codecs & related test cases updated