fix test broken by stricter path validation