add some persistence related traits and a covering test