JMXTest did trigger TomEE - do it with container

JMXTest did somehow trigger booting TomEE via JNDI.
TomEE then then did replace the ServiceManager, leading to
another JobOperator subsequently.
Fixed by running this test in the Container.
diff --git a/jbatch/src/test/java/org/apache/batchee/test/jmx/JMXTest.java b/jbatch/src/test/java/org/apache/batchee/test/jmx/JMXTest.java
index 89476fd..ea9d9e3 100644
--- a/jbatch/src/test/java/org/apache/batchee/test/jmx/JMXTest.java
+++ b/jbatch/src/test/java/org/apache/batchee/test/jmx/JMXTest.java
@@ -19,10 +19,12 @@
 import org.apache.batchee.container.services.ServicesManager;
 import org.apache.batchee.jmx.BatchEEMBean;
 import org.apache.batchee.spi.PersistenceManagerService;
+import org.apache.batchee.test.tck.lifecycle.ContainerLifecycle;
 import org.apache.batchee.util.Batches;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Test;
+import org.testng.annotations.AfterClass;
+import org.testng.annotations.BeforeClass;
+import org.testng.annotations.Listeners;
+import org.testng.annotations.Test;
 
 import javax.batch.operations.JobOperator;
 import javax.batch.runtime.BatchRuntime;
@@ -38,6 +40,7 @@
 import static org.testng.Assert.assertEquals;
 import static org.testng.Assert.assertNotNull;
 
+@Listeners(ContainerLifecycle.class)
 public class JMXTest {
     private static long executionId;
     private static long instanceId;
diff --git a/jbatch/src/test/resources/META-INF/persistence.xml b/jbatch/src/test/resources/META-INF/persistence.xml
index 599370c..3c28092 100644
--- a/jbatch/src/test/resources/META-INF/persistence.xml
+++ b/jbatch/src/test/resources/META-INF/persistence.xml
@@ -36,6 +36,7 @@
 
       <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)"/>
       <property name="openjpa.Log" value="org.apache.openejb.openjpa.JULOpenJPALogFactory"/>
+      <property name="openjpa.RuntimeUnenhancedClasses" value="supported"/>
     </properties>
   </persistence-unit>
 </persistence>