Add Unicode data to unit tests

The only risky area that is reasonably testable is the text processing
in digest.py, so tests are added there. System-level tests should be
added to test interaction with other services.