add karma tests infrastructure