tests for deserialization failure discovered as part of issue #27; actually a bug in the fix for issue #25