unit-tests: Added hasher tests