created test case for search_installed_ports