It's worth noting that he was, well, a turtle. Turtles are actually closely related to the archosaur taxonomic complex- they have more in common, genetically, to birds and crocodilians than to squamates. All these animals tend to show more awareness, social behavior and/or intelligence than the other reptiles. From what I know, almost every chelonian has a higher learning capacity and will at least learn to recognize people.
Edit: I've witnessed, on multiple occasions, that every time I add something new to my older ball's tank, she would, at some point, approach the object and "scan" (literally from top to bottom) the new object before going back to her hide. Also, once she gets going and is awake, she will try to exit her tank when it's open by approaching me from whatever direction I'm hovering over or on one specific side if I'm not standing next to the tank. I thought that was quite interesting. The other snake, though, is a panicky dunce.