merge transaction test and theme impl hibernate