Improved integration testing for identity roles