Add initial automated tests for savedata

Need more cleanup, but they work, and they show bugs and correctness.

Need to add more cases and such...

-[Unknown]