more tweaks to test framework and continuing work on test for #142. Encountering some weird issues with text cutting off in the middle.