Fix protractor spec to work with latest API #2