Completed test cases for the Inventory class.