Feature tests for Text and Image Works, misc related fixes