Check that serialize->parse->serialize puts us back where we started