serialization tests, put into a separate diff per @teknico