Adding karma testing framework