Added tests for the TextSelector plugin. (Still need to fix test for adder.)