Fix peer dependencies bug with karma