Updated getInventoryTest