fixed karma config to work with latest changes in karma