Updated functional testing to work with latest appium