The Transportation Security Administration will begin testing machines to assist travel document checkers early next year.