 'use strict'
 
 Dumper = require './dumper'
-harmony = require './third_party/esprima'
-espree = require 'espree'
+{parse: esprima} = require './third_party/esprima'
+{parse: espree} = require 'espree'
 {expect} = require 'chai'
 
 classDeclaration = ->
-    program = harmony.parse """
+    program = esprima """
         class Hello {
         };
     """


describe 'class', ->
    it 'declaration#1', ->
        tree = harmony.parse """
        class Hello extends World {
            method() {
            }

        """

    it 'namespace specifier #1', ->
        tree = espree """
        import * as RabbitHouse from 'rabbit-house'
        """, {
            ecmaFeatures: {
