Add a test for HmacSHA256
Remove unneeded params
Fix up encryption: apply the counter/iv argument

We weren't actually passing in the counter as the IV for AES-CTR!
We should really do that! Also we should initialize chain.counter
to avoid passing in undefined.

Discovered while adding tests for AES-CTR.