Removed unused conn.buildSearchQuery() and tests