Binary buffer cleaning self-test. See #757.
Fix bugs in Skein and Snefru formats, #757.