rehashing done with it's test case