Updated test code to check for table accuracy

The test code now gets a table for each text file and writes is out as a
.tbl file. This file is then read in and checked to make sure each
character is represented.