Fix remote path mapping tests