hashly test and bug fix