Updated Contribution:hibernate and stabilized tests.