Added purhaseItem method to vendingMachine and tests to provie existence