Added function _decideRoles and tests
Stuff