there might be a test for that, the Deserializer is actually aware of state, but the use case you described should work.