Inventory tests.