.ModuleToLoad('/foo');
    const handle0 = new tr.mre.FunctionHandle([module0], 'Bar');
    const module1 = new tr.mre.ModuleToLoad(undefined, 'foo.html');
    const handle1 = new tr.mre.FunctionHandle([module1], 'Bar');

    assert.isTrue(handle0.hasHrefs());
    assert.isFalse(handle1.hasHrefs());
  });

  test('loadFailsWithHrefs', function() {
    const module = new tr.mre.ModuleToLoad('/foo');
    const handle = new tr.mre.FunctionHandle([module], 'railMapFunction');

    assert.throws(handle.load);
  