Add initial automated tests for savedata.

Need more cleanup, but they work, and they show bugs and correctness.
Merge pull request #87 from unknownbrackets/savedata

Add initial automated tests for savedata