Added support for hmac-sha1.
Updated tests for hmacs.