Logistic Regression: Add tests for text column for grouping

Changes:
    - Added new test cases for grouping
    - Updated baseline for new results
    - Small improvements to R validation in linear regression