describe("Tests for metric-links behavior", function() {
  var behavior, sandbox, contextFake;

  beforeEach(function() {
    utilsSvc = {
      getHashVariable: function() {},
      variableStateInHash: function() {}
    };
    jquery = {
      attr: function() {}
    };
    contextFake = new Box.TestServiceProvider({
      'utils': utilsSvc,
      'jQuery': jquery
    });
    contextFake.getElement = function() { return this };
    sandbox = sinon.sandbox.create();
    behavior = Box.Application.getBehaviorForTest('metric-links', contextFake);
    behavior.init();
  });

  afterEach(function() {
    behavior.destroy();
    sandbox.verifyAndRestore();
  });

  it('Clicking an element with "select-metric" type should send "metric-changed" message', function() {
    sandbox.mock(contextFake).expects('broadcast').once().withExactArgs("metric-changed", "cpu");
    var target = $('<a id="cpu" href="#metric=cpu" data-metric="cpu" data-type="select-metric">cpu</a>')[0];
    var event = $.Event('click', {
      target: target
    });
    behavior.onclick(event, target, 'select-metric');
  });
});
@@ -423,12 +423,59 @@
 urn 
-this
+$('%3Cdiv data-module=%22navigation-index%22%3E%3C/div%3E')%5B0%5D;
  %7D;%0A

Fix for phantomjs driver