pass correct id in tests of indexing and deleting items