failing test serialize()