Mostly research test
It's usually not necessary to test to see if you have pet dander. If you have a pet, you have pet dander. If you don't have a pet, some houses still have detectable cat allergen
even when there has not been a cat there for substantial amounts of time.
Testing is usually done mostly for research purposes though. You can take measures to mitigate, like hard floors or hepa filters, without testing.