Make tests compatible with Karma 0.9.x and later

Vojta has just released Karma 0.10.0 to the Stable channel, necessitating a change to the unit and e2e test configuration.