Create hash object on every task invocation.
Fix tests.