adding karma configuration and test spec file