adds check for API level; stops test if device is 'android' but API < 17

Here's my first attempt to address #1623 - comments/feedback welcome!