Fix failing hibernate plugin tests