You also need to add karma-commonjs as a plugin