Add rewire to karma webpack