Added test for role create, and role permissions

please review it
thanks

This PR fixes several CLI failures in Jenkins.

EDIT by Ichimonji10: Removed internal URLs.
This could be a one line docstring `"""<docstring>"""