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.
Same as previous comment