test hashing function implemented, TODO: specialize char *