karma config fix
added some tests
fix