[corlib] Add tests for the behavior of IO in the face of a symlink loop.