Updated tests for ItemRepository