add rehash unittest
change naming convention
up