TDD of cash_regiter.rb