added functionality to check if duplicate data is being passed to validatorTrait with tests on traitConcrete class