     function_name: 'Bar',
      options: {'a': 'b'}
    });
  });

  test('fromDictTest', function() {
    const handleDict = {
      modules_to_load: [{href: '/foo'}],
      function_name: 'Bar'
    };

    const handle = tr.mre.FunctionHandle.fromDict(handleDict);

    assert.strictEqual(handle.modulesToLoad.length, 1);
    assert.strictEqual(handle.modulesToLoad[0].href, '/foo');
    assert.strictEqual(handle.functionName, 'Bar');
  });

  test('hasHrefsTest', function() {
    const module0 = new tr.mre