[Backport Unit Tests] Fix platform unit tests in core.
Merge pull request #1279 from mdamour1976/5.0

BISERVER-10602 Issues with groups/roles that have a special character follow by the full word "pentaho" in their name in 5.0
Merge pull request #1280 from brendan-lynch/5.0-Core

[Backport Unit Tests] Fix platform unit tests in core.