describe('App Tests', function() {
  describe('Testing angularjs controllers', function (){
    var scope;

    beforeEach(angular.mock.module('news','firebase'));
    beforeEach(angular.mock.inject(function($controller,$rootScope,$firebase){
        scope = $rootScope.$new();
        var config = {
          apiKey: "AIzaSyDOwaiOKq9q-SH-VJ6nK0ZFVTT2kxnPlxM",
          authDomain: "statecraft-dcbc6.firebaseapp.com",
          databaseURL: "https://statecraft-dcbc6.firebaseio.com",
          storageBucket: "statecraft-dcbc6.appspot.com",
          messagingSenderId: "5208094240"
        };
        firebase.initializeApp(config);

        $controller('ArticleCtrl as article', {$scope: scope});
    }));
    
    it('should be 2', function(){
        expect(scope.article).toBeDefined();
        expect(scope.article.articleCollectionLimit).toBe(2);

    });

  });

});

@@ -53,16 +53,14 @@
 ng a
-ngularjs
+rticle
  con
@@ -66,17 +66,16 @@
 ntroller
-s
 ', funct
@@ -96,16 +96,37 @@
 r scope;
+%0A    var firebaseApp;
 %0A%0A    be
@@ -285,24 +285,25 @@
 ope.$new();%0A
+%0A
         var 
@@ -615,16 +615,30 @@
 %0A       
+ firebaseApp =
  firebas
@@ -659,24 +659,61 @@
 p(config);%0A%0A
+        //console.log(firebaseApp);%0A%0A
         $con
@@ -773,20 +773,16 @@
    %7D));%0A
-    
 %0A    it(
@@ -792,17 +792,23 @@
 ould be 
-2
+defined
 ', funct
@@ -814,18 +814,16 @@
 tion()%7B%0A
-  
       ex
@@ -855,24 +855,65 @@
 efined();%0A  
+  %7D);%0A%0A    it('should be 2', function()%7B%0A
       expect
@@ -960,17 +960,16 @@
 oBe(2);%0A
-%0A
     %7D);%0A
@@ -969,16 +969,89 @@
    %7D);%0A%0A
+    afterEach(function() %7B%0A            firebaseApp.delete();%0A        %7D);%0A
   %7D);%0A%0A%7D

test suite does not work