move ticket-related tests to their own file