lib.rs: add doc attributes, add a encoding joke test for fun