refactoring tests CashRegister
CashRegister gets total price