Integrating DSpace unit test with the hibernate framework