Support Windows in getDatabasePath test