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.
s/could/should/

;)