Added HMAC unit tests