fix the spec result where invalid TAP format result would be generated

The TAP result is not displayed on the way if it use Jenkins TAP plugin.

The displaying of result stops at No.209 spec.
![result](https://dl.dropboxusercontent.com/s/u2r74y10v3vj16r/BubbleWrap_tap_result.png?token_hash=AAFXEXJjpD75DrW0FIA_i1iJnncwNMnkvQH0sGZABQaseQ&dl=1)