hash tests