Fix eunit tests

Commit 4aab1499c0a07b2013a10a5e34c43785fb8dcc72 changed the signature
of httpc calls. This updates the tests to expect the new signature.