add spec test for symlink