var abePro = require('../src/abe-protractor.js'),
    browserMock = {
        'addMockModule': function (appName, app, data) {
            return [appName, app, data];
        }
    };

describe('ABE Protractor mockModule loading tests', function () {
    var options = {
            'mocksLocation': './tests/mocks/**',
            'stubsLocation': './',
            'log': false
        };
    // Makes a global variable for browser as called by the node module
    // to setup the Angular App (setup by Protractor)
    browser = browserMock;

    it ('adds default mock module to browser', function () {
        spyOn(browser, 'addMockModule').andCallThrough();
        abePro.setupServiceStubs(options);

        expect(browser.addMockModule).toHaveBeenCalled();

        var argsCalled = browser.addMockModule.argsForCall[0],
            appName = 'app.stubs.hello';

        expect(argsCalled[0]).toBe(appName);
        expect(typeof argsCalled[1]).toBe('function');
        expect(argsCalled[2]['stub-options']['module_name']).toBe(appName);
    });

});

@@ -547,51 +547,93 @@
     
-it ('adds default mock m
+describe('Check addMockM
 odule 
-to browser', 
+is called correctly', function () %7B%0A        beforeEach(
 func
@@ -634,32 +634,36 @@
 h(function () %7B%0A
+    
         spyOn(br
@@ -712,16 +712,20 @@
         
+    
 abePro.s
@@ -755,68 +755,239 @@
 s);%0A
-%0A        expect(browser.addMockModule).toHaveBeenCalled();%0A%0A
+        %7D);%0A%0A        it ('adds default mock module to browser', function () %7B%0A            expect(browser.addMockModule).toHaveBeenCalled();%0A        %7D);%0A%0A        it ('adds a default mock module with correct args', function () %7B%0A    
     
@@ -1057,16 +1057,20 @@
         
+    
 appName 
@@ -1091,16 +1091,20 @@
 ello';%0A%0A
+    
         
@@ -1144,24 +1144,28 @@
 e);%0A        
+    
 expect(typeo
@@ -1199,16 +1199,20 @@
 tion');%0A
+    
         
@@ -1275,24 +1275,36 @@
 e(appName);%0A
+        %7D);%0A
     %7D);%0A%0A%7D);

Split unit tests into two