Wrote some code to test SHA1. Discouraging resuls. VERY EXPERIMENTAL
Added clearer error message in SHA test.