Working on the test of update role function from role repository.