JUnit test version of the code I've been using to test Core Persistence load and read performance.