added protractor and karma tests