added logistic regression test