Solved npe
diff --git a/tests/org.eclipse.emf.teneo.jpox.test/src/org/eclipse/emf/teneo/jpox/test/JPOXTestbed.java b/tests/org.eclipse.emf.teneo.jpox.test/src/org/eclipse/emf/teneo/jpox/test/JPOXTestbed.java
index 6751ad9..519f9af 100644
--- a/tests/org.eclipse.emf.teneo.jpox.test/src/org/eclipse/emf/teneo/jpox/test/JPOXTestbed.java
+++ b/tests/org.eclipse.emf.teneo.jpox.test/src/org/eclipse/emf/teneo/jpox/test/JPOXTestbed.java
@@ -11,7 +11,7 @@
  *   Martin Taal
  * </copyright>
  *
- * $Id: JPOXTestbed.java,v 1.31 2006/09/29 04:02:49 mtaal Exp $
+ * $Id: JPOXTestbed.java,v 1.32 2006/09/29 04:36:51 mtaal Exp $
  */
 
 package org.eclipse.emf.teneo.jpox.test;
@@ -40,7 +40,7 @@
  * The jpox test bed controls the creation of the store and the generation of the mapping file.
  * 
  * @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
- * @version $Revision: 1.31 $
+ * @version $Revision: 1.32 $
  */
 public class JPOXTestbed extends Testbed {
 	
@@ -52,11 +52,6 @@
 
 	/** The property file to use */
 	private static final String propFileName;
-	
-	/** If we get here then this should be the testbed! */
-	static {
-		Testbed.setTestBed(new JPOXTestbed());
-	}
 
 	/** Delegates to the test bed */
 	public static Testbed instance() {
@@ -95,7 +90,7 @@
 				propFileName = "/local_test.properties";
 			}
 			System.err.println("Property File " + propFileName);
-			
+			Testbed.setTestBed(new JPOXTestbed());			
 		} catch (Exception e) {
 			throw new StoreTestException("Exception while checking directory " + RUN_BASE_DIR, e);
 		}