Fix hashtree test missing function