Fixed two typos that stopped the test suite from running. Also, gcc 4.3.2 issued several warnings not seen before: ignoring the return value of fscanf and using the wrong format with printf.