test.testSuite(function() {
  const CHROMIUM_EVENTS = [
    {
      name: 'a', args: {}, pid: 52, ts: 0,
      cat: 'foo', tid: 53, ph: 'B'
    },
    {
      pid: 94936, tid: 5643, ts: 15000,
      ph: 'c', cat: '__metadata', name: 'clock_sync',
      args: {sync_id: 'ABCDEF-01234-5678-0A1B2C3D', issue_ts: 10000},
      tts: 16496444
    }
  ];

  const BATTOR_LINES = [
    '# BattOr',
    '# voltage_range [0.0, 6144.0] mV',
    '# current_range [0.0, 2275.5] mA',
    '# sample_rate 2000 Hz, gain 5.0x',
  