There are a number of tests & tools available.
But no one "test" is determinative. An experienced mental health expert may or may not even utilize a proprietary "test". Such an evaluation includes a thorough history &discussion with the expert, who then can employ 1 or more tests, or not, to provide additional info. In the end, the evaluator should use tests with which he/she has confidence.