iOS safari node example fails on emulator - hangs on

Trying to run the (very) simple node.js example on iOS emulator.
I’m using:

exports.ios82 = {
    browserName: 'Safari',
    'appium-version': '1.3',
    platformName: 'iOS',
    platformVersion: '8.2',
    deviceName: 'iPhone 5',
    app: undefined

The test is:

it("should get the url", function () {
        return driver
            .waitForElementByName('q', 5000)
            .sendKeys('sauce labs')

But when I run it, it launches the safari browser, then immediately clicks on the thumbnail from the start tab, goes to and hangs there.

Please help,