Index: /trunk/quest-plugin-core-test/src/test/java/de/ugoe/cs/quest/plugin/PluginLoaderTest.java
===================================================================
--- /trunk/quest-plugin-core-test/src/test/java/de/ugoe/cs/quest/plugin/PluginLoaderTest.java	(revision 530)
+++ /trunk/quest-plugin-core-test/src/test/java/de/ugoe/cs/quest/plugin/PluginLoaderTest.java	(revision 531)
@@ -2,4 +2,5 @@
 
 import java.io.File;
+import java.util.Collection;
 
 import junitx.framework.ArrayAssert;
@@ -155,4 +156,52 @@
 		ArrayAssert.assertEquivalenceArrays(expected, result);
 	}
+	
+	@Test 
+	public void testLoad_1() throws Exception {
+		PluginLoader loader = new PluginLoader(new File("testdata/de.ugoe.cs.quest.plugin.PluginLoaderTest"));
+		
+		loader.load();
+		
+		Collection<QuestPlugin> plugins = loader.getPlugins();
+		
+		assertEquals(1, plugins.size());
+		QuestPlugin plugin = plugins.iterator().next();
+		assertNotNull(plugin);
+		assertEquals("Mock Plugin", plugin.getTitle());
+		assertArrayEquals(new String[]{"de.ugoe.cs.quest.plugin.mock.commands"}, plugin.getCommandPackages());
+	}
+	
+	@Test 
+	public void testLoad_2() throws Exception {
+		PluginLoader loader = new PluginLoader(new File("testdata/de.ugoe.cs.quest.plugin.PluginLoaderTestInvalid_1"));
+		
+		try {
+			loader.load();
+		} catch(PluginLoaderException e) {
+			e.getMessage().endsWith("not instance of QuestPlugin");
+		}
+	}
+	
+	@Test 
+	public void testLoad_3() throws Exception {
+		PluginLoader loader = new PluginLoader(new File("testdata/de.ugoe.cs.quest.plugin.PluginLoaderTestInvalid_2"));
+		
+		try {
+			loader.load();
+		} catch(PluginLoaderException e) {
+			e.getMessage().startsWith("No class");
+		}
+	}
+	
+	@Test 
+	public void testLoad_4() throws Exception {
+		PluginLoader loader = new PluginLoader(new File("testdata/de.ugoe.cs.quest.plugin.PluginLoaderTestInvalid_3"));
+		
+		try {
+			loader.load();
+		} catch(PluginLoaderException e) {
+			e.getMessage().endsWith("Could not access");
+		}
+	}
 
 }
