Make listDatabaseNames protected/internal, add test for databaseExists