Adding unit tests for HashUtil and TaskUpToDateState