Test that we deal with garbage WEBVTT signatures.

I've added a new condition to the flush function so that we don't
incorrectly try to synthesize the end of a WEBVTT signature.
Merge pull request #7 from RickEyre/garbage-webvtt

Test that we deal with garbage WEBVTT signatures.