fix imports
add unittest for string hashes