changing assertion to reflect appium_lib 2.0