simple unittests for HashUtil