tests for de/serializing incompatible streams