add karma testing framework