I have 2 unit tests which exercises the recognizer with a simple grammar and prerecorded ".aif" and ".wav" files as input. The problem I see is that depending on some unknown circumstance a particular unit test execution will hang indefinitely due to the recognizer not sending resultAccepted or resultRejected events. In my component I use these events in the ResultListener to signal the recognizer to pause. The behavior is not consistant in that it does send on certain executions but not always. I am executing the unit tests from within an IntelliJ Idea project both individually (using the execute individual test config) and all together by running the entire TestCase class. When I run the entire test case class the 1st test passes quite often as it receives the resultAccepted event while the 2nd test fails every time. The behavior is such that I am believing it to be caused by something outside of my components, the unit tests and the JSAPI. It almost feels like the underlying recognizer gets thrown off somehow. I am using the Microsoft SAPI 5.1 running on WinXP.