Simple TAP (Test Anything Protocol) parser with subtest