code: def test_select_query(self, handler):
      limit = 5
      query = f"SELECT * FROM rentals WHERE number_of_rooms = 2 LIMIT {limit}"
      res = handler.query(query)
      self.check_valid_response(res)
      got_rows = res.data_frame.shape[0]
      want_rows = limit
      assert (
          got_rows == want_rows
      ), f"expected to have {want_rows} rows in response but got: {got_rows}"
  
file_path: mindsdb/tests/handler_tests/test_postgres_handler.py
imports: import time
  import pytest
  import docker
  from mindsdb.integrations.handlers.postgres_handler.postgres_handler import PostgresHandler
  from mindsdb.api.executor.data_types.response_type import RESPONSE_TYPE
label_desc: Use image node_id 8 for calling the TestPostgresHandler obj's underlying member method code with example usage: obj.test_select_query(handler) without return types