test for symlink