Created test for Candy/Chips and refactored VendingMachine constructor