added test for logistic regression classifier and fixed whitespaces