add test case for logistic regression