tests for item and inventory