add location search test code.