test reading symlinks with lstat