api tests to update/delete roles

- added two tests to delete and update role.
Something went wrong with this file when the PR was updated.