using extensionrole and fixing tests