Tests the role creation and modification