Can you rewrite this as:

```
var shortBootIDTests = []struct{
        m Machine
        w string
}{
        {
                m: Machine{},
                w: ""
        },
        {
                m: MachineState{
                        "595989bb-cbb7-49ce-8726-722d6e157b4e",
                        "5.6.7.8",
                        map[string]string{"foo": "bar"},
                        "",
                },
                w: "595989bb",
        }
}

func TestStateShortBootID(t *testing.T) {
        for i, tt := range shortBootIDTests {
                if g := tt.m.ShortBootID(); g != tt.w {
                        t.Errorf("#%d: got %q, want %q", i, g, tt.w)
                }
        }
}
```

please?