Diagnostic tests for logistic regression models