fixes #726 Fix the serializability test. Very basic cases, but that's
what it's meant to cover.