refactor class AppiumSetupTest.java