function generateIndexHtml(testFiles) {
  var links = testFiles.map(function(file) {
    return '    <a href="' + file + '">' + file.slice('html/'.length) +
        '</a><br />';
  });
  var contents =
      '<!DOCTYPE html>\r\n' +
      '<html>\r\n' +
      '  <head>\r\n' +
      '    <meta charset="utf-8" />\r\n' +
      '    <title>Lovefield tests</title>\r\n' +
      '  </head>\r\n' +
      '  <body>\r\n' +
      '    <h1>Lovefield tests</h1>\r\n' +
      links.join('\r\n') +
      '\r\n  </body>\r\n' +
      '</html>\r\n';
  fsMod.writeFileSync('index.html', contents);
  log('\nTest files generated. Starting server @' + process.cwd() + ' ...\n');
}
Creates stub HTML file with links to all individual tests.
@param {!Array<string>} testFiles