Ticket validation method and more tests.