describe('Testing Core', function() {
  afterEach(function() {
    Core.stopAll();
  });
  it('Should create a new module', function() {
    Core.register('tweet', function() {});

    expect(Core.modules['tweet']).not.toBeUndefined();
  });

  it('Should start a new module');

  it('Should stop a new module');

  it('Should start all modules');

  it('Should stop all modules');

  it('Should throw an error when a module is not defined');

  it('Should trigger init when the module is started');

  it('Should trigger init from the modules that where started');

  it('Should trigger destroy when module is stoped');

  it('Should trigger destroy from the modules that where stoped');

  it('Should extend a different component into Core extensions');

  it('Should return the registered extension');
});

@@ -72,24 +72,47 @@
 .stopAll();%0A
+    Core.modules = %7B%7D;%0A
   %7D);%0A  it('
@@ -295,112 +295,1114 @@
 ule'
-);%0A%0A  it('Should stop a new module');%0A%0A  it('Should start all modules');%0A%0A  it('Should stop all modules'
+, function() %7B%0A    Core.register('tweet', function() %7B%7D);%0A    Core.start('tweet');%0A%0A    expect(Core.modules.tweet.instance).not.toBeNull();%0A  %7D);%0A%0A  it('Should stop a new module', function() %7B%0A    Core.register('tweet', function() %7B%7D);%0A    Core.start('tweet');%0A    Core.stop('tweet');%0A%0A    expect(Core.modules.tweet.instance).toBeNull();%0A  %7D);%0A%0A  it('Should start all modules', function() %7B%0A    Core.register('tweet1', function() %7B%7D);%0A    Core.register('tweet2', function() %7B%7D);%0A    Core.register('tweet3', function() %7B%7D);%0A%0A    Core.startAll();%0A%0A    expect(Core.modules.tweet1.instance).not.toBeNull();%0A    expect(Core.modules.tweet2.instance).not.toBeNull();%0A    expect(Core.modules.tweet3.instance).not.toBeNull();%0A  %7D);%0A%0A  it('Should stop all modules', function() %7B%0A    Core.register('tweet1', function() %7B%7D);%0A    Core.register('tweet2', function() %7B%7D);%0A    Core.register('tweet3', function() %7B%7D);%0A%0A    Core.startAll();%0A    Core.stopAll();%0A%0A    expect(Core.modules.tweet1.instance).toBeNull();%0A    expect(Core.modules.tweet2.instance).toBeNull();%0A    expect(Core.modules.tweet3.instance).toBeNull();%0A  %7D
 );%0A%0A

update tests startin and stoping modules