Here is an edge case you can test for. There are speeches that contain more than one speaker. This one caught me off guard as well!

Example:

<SPEECH>
<SPEAKER>MACBETH</SPEAKER>
<SPEAKER>LENNOX</SPEAKER>
<LINE>What's the matter.</LINE>
</SPEECH>

Hope this helps point you in the right direction :)