Logistic Regression: Update logregr tests to reflect new API

Logistic regression API was changed to include grouping support.
The tests have been updated to take this change into account.
Also, multiple new tests have been added to verify the results of the
module with R.