Cleanup all the datatype test to avoid any memory leaks or RUI from valgrind.
Correctly initialize and finalize all the datatype classes. No memory leaks on the
datatype engine subsists.
rearrange the fields to remove a gap in the datatype.