Add Test connection function

Fix NewDatabaseWizard uses hibernate with create, and OpenDatabaseWizard
uses hibernate update.