key should be bytes in base hmac test