Not sure I get what this is doing? Why are we using the index of the role from the user that the test is being run as.