Made the two tests verify that the number of the next ticket increased one.
Added an unit test TODO: make a unit test for class TicketDispenser.