Test search of clients; add delete by pattern test.