Refactoring integration tests;
Adding MBean to shutdown JVM remotely.
minor config changes