junit tests for HashUtilities