Test digest.