fixed unit test serialize error