test persistence specialization of Generic