fix item_repository_test tests