ENH added tests for symlink