Added test recognition button and text output.