	@Test
	public void testCreatingInstance() throws Exception {

		final List<ScriptContext> contexts = service.load(new File(
				"src/test/resources/scripting/testcase.xml"));
		Assert.assertEquals(1, contexts.size());
		final ScriptContext context = contexts.get(0);
		Class<?> clazz = context.getClassLoader().loadClass(
				"test.ScriptingCompilerTest");
		Assert.assertNotNull(clazz.newInstance());
		Assert.assertNotNull(clazz);
		Assert.assertEquals("test.ScriptingCompilerTest", clazz.getName());
	}