Adjust formTest to be tolerant to regex failures