[Misc] Use JUnit best practices
XWIKI-11230: User and Group resolver should handle guest user