more informative error message for bad serialization
check that the unpacked test object is correct
test invalid Session pack and unpack