update test system

support for test imports
add object type read/write test for indexeddb