Added test script for the idevices functionality