BufferedReader br = new BufferedReader(new StringReader(piglatin));
Grunt grunt = new Grunt(br, new PigContext(ExecType.LOCAL, new Properties()));
String [] inp = {piglatin};
Util.createLocalInputFile(scriptFile, inp);
grunt.checkScript(scriptFile);
Assert.fail("Expected exception isn't thrown");
} catch (FrontendException e) {
Util.checkMessageInException(e, errMsg);
}