Add test for parse error of language pragmas