Add more comprehensive hash tests