Add Ticket And Factory and test