update karma testing configure

add karma testing support