get karma working with tests written in ES6