livesearch: Add tests for cached result