add test for rehash: fix splitting issues, make_shims()
add test for rehash: remove stale shims