Added test for update and delete roles

please review it thanks
Update: @tkolhar has done this.