I've heard scientists say dogs don't have theory of mind and making a big deal out of some animals that do have some traces of it, when any dog owner can confirm they do. I've seen my dog bury a bone in one place while the other dog watches, then rebury it in a different place when the other dog went home.
I've also seen my parents' previous dog pretend he's closed in the enclosure with the doghouse when neighbors cat approached even when he wasn't. Then when the cat came to their backyard the dog would run after the cat.
It's so obvious, it's baffling to me how science could ever miss it.