text: expected_list_of_journey_pattern_section_refs = [
      {
          'journey_pattern_info': {
              'direction': 'outbound',
              'destination_display': None
          },
          'journey_pattern_section_refs': ['JPSection-9', 'JPSection-27', 'JPSection-13', 'JPSection-1']
      },
      {
          'journey_pattern_info': {
              'direction': 'outbound',
              'destination_display': None
          },
          'journey_pattern_section_refs': ['JPSection-11', 'JPSection-5', 'JPSection-28']
      },
      {
          'journey_pattern_info': {
              'direction': 'outbound',
              'destination_display': None
          },
          'journey_pattern_section_refs': ['JPSection-12']
      },
      {
          'journey_pattern_info': {
              'direction': 'outbound',
              'destination_display': None
          },
          'journey_pattern_section_refs': ['JPSection-10', 'JPSection-6', 'JPSection-13', 'JPSection-27', 'JPSection-4']
      },
  ]
  
  expected_list_of_journey_patterns = [{'journey_pattern_info': {'destination_display': None, 'direction': 'outbound'}, 'journey_pattern_sections': [[{'from_atco_code': '0600MA6152', 'from_timing_status': 'PTP', 'run_time': 'PT1M', 'to_atco_code': '0600MA6001', 'to_timing_status': 'OTH'}], [{'from_atco_code': '0600MA0018', 'from_timing_status': 'OTH', 'run_time': 'PT2M', 'to_atco_code': '0600MA0020A', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0020A', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA6032', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6032', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0023', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0023', 'from_timing_status': 'OTH', 'run_time': 'PT2M', 'to_atco_code': '0600MA0026A', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0026A', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA6030', 'to_timing_status': 'OTH'}], [{'from_atco_code': '0600MA6152', 'from_timing_status': 'PTP', 'run_time': 'PT1M', 'to_atco_code': '0600MA6001', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6001', 'from_timing_status': 'OTH', 'run_time': 'PT2M', 'to_atco_code': '0600MA0050', 'to_timing_status': 'OTH'}], [{'from_atco_code': '0600MA6189', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0028A', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0028A', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0029', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0029', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0030', 'to_timing_status': 'PTP'}, {'from_atco_code': '0600MA0030', 'from_timing_status': 'PTP', 'run_time': 'PT1M', 'to_atco_code': '0600MA0031', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0031', 'from_timing_status': 'OTH', 'run_time': 'PT0M', 'to_atco_code': '0600MA6031', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6031', 'from_timing_status': 'OTH', 'run_time': 'PT2M', 'to_atco_code': '0600MA0022', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0022', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0021', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0021', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0020', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0020', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0019', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0019', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA6033', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6033', 'from_timing_status': 'OTH', 'run_time': 'PT0M', 'to_atco_code': '0600MA6002', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6002', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0049', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0049', 'from_timing_status': 'OTH', 'run_time': 'PT2M', 'to_atco_code': '0600MA0096', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0096', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA6105', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6105', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA6152', 'to_timing_status': 'PTP'}]]}, {'journey_pattern_info': {'destination_display': None, 'direction': 'outbound'}, 'journey_pattern_sections': [[{'from_atco_code': '0600MA6152', 'from_timing_status': 'PTP', 'run_time': 'PT1M', 'to_atco_code': '0600MA6001', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6001', 'from_timing_status': 'OTH', 'run_time': 'PT2M', 'to_atco_code': '0600MA0050', 'to_timing_status': 'OTH'}], [{'from_atco_code': '0600MA0050', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0046', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0046', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0017', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0017', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0018', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0018', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0020A', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0020A', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA6032', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6032', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0023', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0023', 'from_timing_status': 'OTH', 'run_time': 'PT3M', 'to_atco_code': '0600MA0026A', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0026A', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA6030', 'to_timing_status': 'OTH'}], [{'from_atco_code': '0600MA0028A', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0029', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0029', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0030', 'to_timing_status': 'PTP'}, {'from_atco_code': '0600MA0030', 'from_timing_status': 'PTP', 'run_time': 'PT1M', 'to_atco_code': '0600MA0031', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0031', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA6031', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6031', 'from_timing_status': 'OTH', 'run_time': 'PT2M', 'to_atco_code': '0600MA0022', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0022', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0021', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0021', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0020', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0020', 'from_timing_status': 'OTH', 'run_time': 'PT2M', 'to_atco_code': '0600MA0019', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0019', 'from_timing_status': 'OTH', 'run_time': 'PT0M', 'to_atco_code': '0600MA6033', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6033', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA6002', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6002', 'from_timing_status': 'OTH', 'run_time': 'PT2M', 'to_atco_code': '0600MA0049', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0049', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0096', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0096', 'from_timing_status': 'OTH', 'run_time': 'PT2M', 'to_atco_code': '0600MA6105', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6105', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA6152', 'to_timing_status': 'PTP'}]]}, {'journey_pattern_info': {'destination_display': None, 'direction': 'outbound'}, 'journey_pattern_sections': [[{'from_atco_code': '0600MA6001', 'from_timing_status': 'OTH', 'run_time': 'PT2M', 'to_atco_code': '0600MA0050', 'to_timing_status': 'OTH'}]]}, {'journey_pattern_info': {'destination_display': None, 'direction': 'outbound'}, 'journey_pattern_sections': [[{'from_atco_code': '0600MA6152', 'from_timing_status': 'PTP', 'run_time': 'PT1M', 'to_atco_code': '0600MA6001', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6001', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0050', 'to_timing_status': 'OTH'}], [{'from_atco_code': '0600MA0050', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0046', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0046', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0017', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0017', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0018', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0018', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0020A', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0020A', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA6032', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6032', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0023', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0023', 'from_timing_status': 'OTH', 'run_time': 'PT3M', 'to_atco_code': '0600MA0026A', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0026A', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA6030', 'to_timing_status': 'OTH'}], [{'from_atco_code': '0600MA6152', 'from_timing_status': 'PTP', 'run_time': 'PT1M', 'to_atco_code': '0600MA6001', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6001', 'from_timing_status': 'OTH', 'run_time': 'PT2M', 'to_atco_code': '0600MA0050', 'to_timing_status': 'OTH'}], [{'from_atco_code': '0600MA0018', 'from_timing_status': 'OTH', 'run_time': 'PT2M', 'to_atco_code': '0600MA0020A', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0020A', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA6032', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6032', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0023', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0023', 'from_timing_status': 'OTH', 'run_time': 'PT2M', 'to_atco_code': '0600MA0026A', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0026A', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA6030', 'to_timing_status': 'OTH'}], [{'from_atco_code': '0600MA0028A', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0029', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0029', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0030', 'to_timing_status': 'PTP'}, {'from_atco_code': '0600MA0030', 'from_timing_status': 'PTP', 'run_time': 'PT1M', 'to_atco_code': '0600MA0031', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0031', 'from_timing_status': 'OTH', 'run_time': 'PT0M', 'to_atco_code': '0600MA6031', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6031', 'from_timing_status': 'OTH', 'run_time': 'PT3M', 'to_atco_code': '0600MA0022', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0022', 'from_timing_status': 'OTH', 'run_time': 'PT0M', 'to_atco_code': '0600MA0021', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0021', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0020', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0020', 'from_timing_status': 'OTH', 'run_time': 'PT2M', 'to_atco_code': '0600MA0019', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0019', 'from_timing_status': 'OTH', 'run_time': 'PT0M', 'to_atco_code': '0600MA6033', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6033', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA6002', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6002', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA0049', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0049', 'from_timing_status': 'OTH', 'run_time': 'PT2M', 'to_atco_code': '0600MA0096', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA0096', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA6105', 'to_timing_status': 'OTH'}, {'from_atco_code': '0600MA6105', 'from_timing_status': 'OTH', 'run_time': 'PT1M', 'to_atco_code': '0600MA6152', 'to_timing_status': 'PTP'}]]}]
  