updated test for logistic regression after changes to LogisticRegression class