public final void testModuleReload() {
//now load up the module definition properly
GlobalCommandState.getInstance().addValue(CommandStateConstants.MODULE_DEFINITION_SOURCE, new Test1());
CommandState commandState = new CommandState();
assertTrue(new InitContextCommand().execute(null));
command.extractText(new String[]{Test1.plugin1}, commandState);
command.execute(commandState);
assertFalse(command.isRootReloaded());
assertTrue(command.isModuleReloaded());