add search and new helpers, improve tests

 - moved to simple_one_for_one
 - added search
 - added refresh and flush functions for indices
 - improved test coverage
cleanup