=== Direct API Testing ===

TEST 1: Direct Agents Query
Result type: array
Result: [{"id":40,"full_name":"Anika Desmond ","profile_image":null,"user_type":"agent"},{"id":46,"full_name":"Anthony Kwasi Adu","profile_image":null,"user_type":"landlord"},{"id":38,"full_name":"Asuamah Alice ","profile_image":null,"user_type":"landlord"},{"id":37,"full_name":"Baah Zanteyin Charles ","profile_image":null,"user_type":"agent"},{"id":44,"full_name":"Clinton Nana Agyemang ","profile_image":null,"user_type":"agent"},{"id":43,"full_name":"Ebenezer Owusu Takyi ","profile_image":null,"user_type":"agent"},{"id":31,"full_name":"frank ","profile_image":null,"user_type":"landlord"},{"id":4,"full_name":"Frank Asante","profile_image":null,"user_type":"landlord"},{"id":36,"full_name":"kpe Ofe","profile_image":null,"user_type":"landlord"},{"id":33,"full_name":"Michael Adamu","profile_image":null,"user_type":"landlord"},{"id":30,"full_name":"Miracle Oduro Dansowaa","profile_image":null,"user_type":"agent"},{"id":34,"full_name":"Peter Kweidu ","profile_image":null,"user_type":"landlord"},{"id":2,"full_name":"Samuel Nsowaa","profile_image":null,"user_type":"landlord"},{"id":45,"full_name":"Wintim foster ","profile_image":null,"user_type":"landlord"}]
Is array: YES

TEST 2: Room search (empty term)
Term is empty, should return empty array
Result type: array
Result: []
Is array: YES

TEST 3: Room search (with term)
Result type: array
Result count: 2
Is array: YES

TEST 4: Query that should fail (table doesn't exist)
Result type: boolean
Result: false
Is array: NO
Is false: YES
