chore(tests): fix up test for protractor 1.2.0 update

These changes were made to master in 85880a64900fa22a61feb926bf52de0965332ca5
but never made it to the 1.2.x branch.