refactor InscriptionTeamTest and ManagedService