st', function() {
    const mtl0 = new tr.mre.ModuleToLoad('/foo');
    const mtl1 = new tr.mre.ModuleToLoad(undefined, 'foo.html');

    assert.deepEqual(mtl0.asDict(), {'href': '/foo'});
    assert.deepEqual(mtl1.asDict(), {'filename': 'foo.html'});
  });

  test('moduleToLoadFromDictTest', function() {
    const moduleDict0 = {
      href: '/foo'
    };
    const moduleDict1 = {
      filename: 'foo.html'
    };

    const mtl0 = tr.mre.ModuleToLoad.fromDict(moduleDict0);
    const mtl1 = tr.mre.ModuleTo