added testcase for EnumCodeList #12

Please review #12, and merge to master branch.