Finally managed to get this configured with karma, mocha, chai and requires