Intelligent Testing: Integrating Psychological Theory and Clinical Practice