Added hexdigest test