Chanced tests to use hex encoding rather than HMAC