testing chai with karma