code: def test_rectangular_matrices():
      mt = hl.MatrixTable.from_parts(entries={"foo": [[1], [2]]})
      assert mt.select_rows().select_cols().entries().collect() == [
          hl.Struct(row_idx=0, col_idx=0, foo=1),
          hl.Struct(row_idx=1, col_idx=0, foo=2),
      ]
  
imports: import pytest
  import hail
label_desc: Use image node_id 9 for calling a global function with example usage: test_rectangular_matrices() without return types