implements protractor testing