generic serialization test fix