Expanded tests for HashCash and made small fixes.
Fixed concurrency issues pertaining to workerChallengesManager