`Decode` should return an error that should always be checked. Try:

```go
if _, err := Decode(firstBuffer.String(), &outputs); err != nil {
    t.Fatal(err)
}
```