switched to jasmine
Some changed for karma tests