Added tests for symlinks.
Explicitly check for strings in the symlink method.