inserting karma-coverage and istanbul for code coverage
removing some test scenarios and update methods