Migrate the tests from the hibernate plugin to g-d-m