Move a test for interfaces to IndexedDB and improve