Updated test cases for PrefixCode