move import in test_search