Implemented testing of true positives in logistic regression.