test refractored
trainee subclass added