fix wrong parser serialization test