adding api contextual roles component test