Search endpoint test