Enum value override from test

In reply to komal_chatterjee:
Please find a running example here:

You had 2 key problems:
(1) your typedef was incorrect;
(2) your data member in the seq_item was not intended for randomization. RThe rand key word was missing