Fixed unittests with symlinks.