Tests: Refactor warn on error tests to support multiple languages
16 files changed