public static void shutdownPentahoSystem() {
   PentahoSystem.refreshSettings();
   PentahoSystem.clearGlobals();
   PentahoSystem.clearObjectFactory();
   PentahoSystem.shutdown();
 }
 @After
 public void tearDown() {
   connectionServiceImpl = null;
   PentahoSystem.deregisterObjectFactory(pentahoObjectFactory);
   PentahoSystem.clearObjectFactory();
 }