database create, upgrade test