Fail test when no connected device can be used to run test.

When the connected device would not be suitable to run the tests on
(because the API version is wrong, or is not authorized), the tests
would still be considered as passed.

Generate an  exception and fail the test in such circumstances.

Change-Id: Ibee5da5a3934cd42362564b619f88ada68d1f105
6 files changed