Add a test for the ticket callbacks