test searching direct query