Vicky Nina, a Yorkshire terrier, and Whisky, a border collie, were given a straightforward task that few dogs can complete: Amid a trove of toys the two pets were already familiar with, they had to identify a new toy by name—more specifically, by the fact that it was the only object they didn’t...