Test text analyzer and fix bug