add karma as frontend test runner