added functionality to dynamically add attributes to models to invokerTrait with tests on traitConcrete class