new ticket model and tests