updated tests for livesearch with better coverage