Again I think you are putting way to much thought into this. Not everything people say has that much thought put into it. I mean that is a lot of his headspace you are making assumptions about without any evidence to back it up. A “test” ? I doubt it. More likely a faux pas caused by nervousness. People say dumb and stupid things. It’s a really common thing that people do. Personally I never try to judge people on such limited interactions.