api tests to update/delete roles

- added two tests to delete and update role.
Un-indent the `)`, please?