add karma testing
fixed bug and add click sku and change factory