digest() tests.