Test setCommand() on iOS.