prepare testing with karma