Fixed test failing after change to reference serialization

Change-Id: I986a1880aa109aaeb8154eb3971e03a2d5eb5915