hibernate and test model