minor changes in HibernateMockService like code formatting