add unit test configuration for karma and jasmine