Using a property-based testing framework like github.com/silentbicycle/theft would be nice. But, baseline, we need to hit more of our code with simple tests, particularly the serialization stuff.