update karma config and spec files