internal framework to handle appium tests