robust logistic regression tests bug fix