add hook lookup tests
fix resolving symlinks in rbenv-hooks