added test file for logistic regression and fixed whitespaces