Fixed test failure with serialization of void types in rest