Refactor tests

Increase Karma and change mocha to jasmine before is more simple to use