Fix tests to trigger spatial search