Added test for AbstractSentenceListener.