assertTrue("Emebedded execution failed", status);
//check that the output confirms the exepected
assertEquals("jelly-test-case", new String(baos.toByteArray()));
//test generation of error
embedded.setScript(jellyScript + "obnoxious-part");
status = embedded.execute();
//test failure of execution
assertFalse("A script with bad XML was executed successfully", status);
//Asserting the parser generated a errorMsg
assertNotNull("A script with bad XML didn't generate an error message", embedded.getErrorMsg());
}