Move path test to symlink function.