protractor and karma test succeed