adding testcases for serialization of xenums