Unit testing for hashly lib