Validation of parameter attributes of GenericObject constructor
New tests added