code: def test_chained_remote(setup):
      def f(x):
          return x + 1
  
      def g(x):
          return x * 2
  
      s = spawn(g, spawn(f, 2))
  
      result = s.execute().fetch()
      assert result == 6
  
imports: from collections import defaultdict
  import numpy
  import pandas
  import pytest
  from ...None import dataframe
  from ...None import get_context
  from ...None import oscar
  from ...None import tensor
  from ...core import tile
  from ...session import get_default_session
  from ...learn.utils import shuffle
  from ...lib.mmh3 import hash
  from ..None import spawn, ExecutableTuple
label_desc: Use image node_id 5 for calling a global function with example usage: test_chained_remote(setup) and returns: unknown, unknown