wrapped database initialization for testdata in #if debug