refactoring test cases to use protractor per new angular recommendation