REF-94 - ACL Role order bug fix. Unit tests

ACL Role order bug fix. Unit tests