added some persistence util tests and deleted an unused method
rewrote two tests