Add a test for IDBFactory cmp