Done tests for the role update function from role repository.