[dbmeta] more DatabaseMetaData impl and testing