Yeah, I gotta admit, I'd get kinda shirty as a player if I cast Toll the Dead on the chest to see if it was a mimic, it turns out to actually be a mimic, but, it gets a surprise round of actions. I mean, come on, that's a pretty dick move by the DM. Now, if I tolled the chest and the floor in front of the door was the mimic? Fair game. But, when the thing I think is a trap turns out to be the exact trap that I suspect it is, I'm generally not going to be surprised by that fact.
Now, if the chest was a polymorphed dragon that had been polymorphed into a really weak chest and the Toll the Dead shattered the chest, thus released the dragon? Yeah, I might buy that as a surprise round.
But, no, when something you are testing is actually the exact thing you are testing for, I'm going to get a bit annoyed if the DM declares that I'm surprised by being 100% right.