test(midway): added functionality to run midway tests using protractor