init test with karma