Added hash tests