fix checkstyle violations for codec test directory