Add a unit test to check focused activity in API10

The test fails with current appium-adb. This pull request will fix the issue: https://github.com/appium/appium-adb/pull/28.