Adjust test suite to new Language Pragma warnigns

(this is related to #3647)