added hibernate persistence functions, updated JUnit tests
added hibernate persistence functions & updated JUnit tests