fix test karma