Add tests surrounding #13
Encoding all the things!