Upgrade test.check to 0.6.1.
Add support for passphrase encryption and convert unpack-data to a protocol.
Update encryption tests to exercise passphrase encryption.
Minor cleanup and test extensions.