>There is no test for consciousness
There's the Glasgow Coma Scale "the most widely used tool for measuring comas and decreases in consciousness"
https://my.clevelandclinic.org/health/diagnostics/24848-glas...
I know it's probably not what you're thinking of but does illustrate these things are not totally beyond testing and experimentation.