Testing client side via karma