Added test for bad serialized data.