 'use strict';

 describe('Controller: AdminCtrl', function () {

 // load the controller's module
 beforeEach(module('openstorefrontApp'));

 var AdminCtrl, scope;

 // Initialize the controller and a mock scope
 beforeEach(inject(function ($controller, $rootScope) {
   scope = $rootScope.$new();
   AdminCtrl = $controller('AdminCtrl', {
     $scope: scope
   });
 }));

// besplin, 18 Aug 2015
 it('should have the correct initializations', function () {
   expect(scope.collection).toEqual(null);
   expect(scope.collectionSelection).toEqual(null);
   expect(scope.incLoc).toEqual('');
   expect(scope.saveContent).toEqual('');
   expect(scope.editedTopic).toEqual('Types');
   expect(scope.toolTitle).toEqual('Admin Tools');
   expect(scope.menuPanel.data.open).toEqual(true);
   expect(scope.menuPanel.system.open).toEqual(true);
   expect(scope.oneAtATime).toEqual(false);

  /* expect(scope.myTree).toEqual(array);
     expect(scope.systemTree).toEqual(array);
     expect(scope.data).toEqual(array);
     expect(scope.systemTools).toEqual(array);
     expect(scope.menuPanel).toEqual(array);
     expect(scope.menuPanel.data).toEqual(array);
     expect(scope.menuPanel.system).toEqual(array);
  */

 });
});

@@ -371,32 +371,8 @@
 );%0A%0A
-// besplin, 18 Aug 2015%0A
  it(
@@ -851,16 +851,53 @@
 alse);%0A%0A
+// Does not work on arrays %7B%7D and %5B%5D%0A
   /* exp

Fix for unit test