Add primitive unit tests and test-driven tweaks to spacing

* convert one space to two spaces and vice versa on certain decodings
* hack in rot13 shortcut