Read rolename from new XML Schema
Added some tests