Harden tests (testFixTrailingExtSlash)