ENH enhanced the test for symlink