       0
     )
   )
-)
+  it('test vega_to_plotly', ->
+    assert.deepEqual(
+      vega_to_plotly('free_energy', 'test')(data()[0].meta.data).name
+      'test'
+    )
+  )
+  it('test get_comparison_data', ->
+    assert.deepEqual(
+      get_comparison_data('free_energy', data())[0].mode
+      'lines'
+    )
+  )
+  it('test filter_by_id', ->
+    assert.deepEqual(
+      filter_by_id('3a.1')(data_raw()).length
+      2
+    )
+  )
+)

          }
      }
    ]
  chart_data = ->
    {
      name:'free_energy'

    }
  it('simple test', ->
    assert.deepEqual(
      data()[0].meta.data[0].name
      'free_energy'
    )
  )
