Updated hibernate and spring tests.