fix marshalling testcase