In preparation for running the formatter do minor refactorings and add a bunch of `rustfmt::skip` directives.
Add a `tests` directory. Add `serde` tests for the recently added fixed width binary serialization code. Please note, serialization is only fixed width when serialized with the `bincode` crate.