more persitence work - added some tests
More unit tests for persistence objects