Add Hash.digest tests for MD5, SHA256 and SHA512