Add tests for bad TAP version line and pragmas with version 12