Inventory: Caps addition based on capacity
InventoryTest: added some of the JUnit for Inventory