[mobile][fireplace] Refactoring test_search.py