(AutomatedTests) Ensure warnings are shown as errors