code: def test_episodes_to_acts_obs_list(eps_data):
      t = EpisodeBatch(**eps_data)
      acts_list = t.actions_list
      obs_list = t.observations_list
      start = 0
      assert len(acts_list) == len(t.lengths)
      assert len(obs_list) == len(t.lengths)
      for i, length in enumerate(t.lengths):
          stop = start + length
          assert (acts_list[i] == t.actions[start:stop]).all()
          assert (obs_list[i] == t.observations[start:stop]).all()
          start = stop
  
imports: import akro
  import gym.spaces
  import numpy
  import pytest
  from garage import EnvSpec, EnvStep, EpisodeBatch, StepType, TimeStep, TimeStepBatch
label_desc: Use image node_id 23 for calling a global function with example usage: test_episodes_to_acts_obs_list(eps_data) without return types