Add karma as frontend testing tool