GUI -- fixed broken unit tests.

Change-Id: I6563d9965d1d4fd47b0302b090f09431eb25a49a
diff --git a/web/gui/src/main/webapp/tests/app/fw/svg/svgUtil-spec.js b/web/gui/src/main/webapp/tests/app/fw/svg/svgUtil-spec.js
index 993dfdb..e1a2107 100644
--- a/web/gui/src/main/webapp/tests/app/fw/svg/svgUtil-spec.js
+++ b/web/gui/src/main/webapp/tests/app/fw/svg/svgUtil-spec.js
@@ -41,7 +41,7 @@
     it('should define api functions', function () {
         expect(fs.areFunctions(sus, [
             'createDragBehavior', 'loadGlow', 'cat7', 'translate', 'stripPx',
-            'makeVisible'
+            'makeVisible', 'safeId'
         ])).toBeTruthy();
     });
 
diff --git a/web/gui/src/main/webapp/tests/app/view/topo/topoForce-spec.js b/web/gui/src/main/webapp/tests/app/view/topo/topoForce-spec.js
index f8b4e66..cf4f4d6 100644
--- a/web/gui/src/main/webapp/tests/app/view/topo/topoForce-spec.js
+++ b/web/gui/src/main/webapp/tests/app/view/topo/topoForce-spec.js
@@ -20,7 +20,7 @@
 describe('factory: view/topo/topoForce.js', function() {
     var $log, fs, tfs;
 
-    beforeEach(module('ovTopo', 'onosUtil'));
+    beforeEach(module('ovTopo', 'onosUtil', 'onosLayer'));
 
     beforeEach(inject(function (_$log_, FnService, TopoForceService) {
         $log = _$log_;
@@ -34,7 +34,8 @@
 
     it('should define api functions', function () {
         expect(fs.areFunctions(tfs, [
-            'initForce', 'resize'
+            'initForce', 'resize', 'updateDeviceColors',
+            'addDevice', 'updateDevice'
         ])).toBeTruthy();
     });
 
diff --git a/web/gui/src/main/webapp/tests/app/view/topo/topoInst-spec.js b/web/gui/src/main/webapp/tests/app/view/topo/topoInst-spec.js
index 1ea4663..f54d839 100644
--- a/web/gui/src/main/webapp/tests/app/view/topo/topoInst-spec.js
+++ b/web/gui/src/main/webapp/tests/app/view/topo/topoInst-spec.js
@@ -35,7 +35,8 @@
     it('should define api functions', function () {
         expect(fs.areFunctions(tis, [
             'initInst', 'destroyInst',
-            'addInstance', 'updateInstance', 'removeInstance'
+            'addInstance', 'updateInstance', 'removeInstance',
+            'isVisible', 'show', 'hide'
         ])).toBeTruthy();
     });