Fixing unit test broken by previous serialization change