Added tests for single and multiple appendices.

Also added {pass,fail}_if_text_matches function to testutils.sh which allows for grepping of the text of the PDF.