Fixed karma and protractor tests