use persistSettings for CompositeTest.hs
TH: fix generic/non-generic instance generation