move idb_common_meta to idb_shim
add quick standalone test