TDD example on cashier problem