Hash function Unit Tests