adding karma tests