Modify origin mode test to check for warning header