Tests and fixes for Persistence

Merged Eclipse Webmaster requested to merge github/fork/dbluhm/persistence-fixes-tests into next

Created by: dbluhm

This PR implements basic testing for the Persistence annotation as well as some associated simplifications and fixes.

Merge request reports