All the ticket stuff working. Some tests better.