add persistence unit tests