[test fix] (mostly) fix tests.
modified search functionality for loggly GEN2