Aligned with changes in ClassModel, modified one assert from assertTrue
to assertEquals in order to better visualize generated code
misalignments (especially under Eclipse)
Added code to generate tests two times: this helps testing code
generation stability (which was undermined by caching)