Raise NotImplementedError if not implemented

- Fix signature to avoid ArgumentError
- Correct name of NotImplementedError exception
Add test for method to be implemented in subclass
Merge pull request #9 from flori/fix-digest-not-implemented

Fix digest not implemented error