add test of service search method