You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: keeper_test.go
    path of file: ./repos/stolon/cmd/keeper/cmd
    
    the code of the file until where you have to start completion: // Copyright 2017 Sorint.lab
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b
    
func TestParseSynchronousStandbyNames(t *testing.T) {
	tests := []struct {
		in  string
		out []string
		err error
	}{
		{
			in:  "2 (stolon_2c3870f3,stolon_c874a3cb)",
			out: []string{"stolon_2c3870f3", "stolon_c874a3cb"},
		},
		{
			in:  "2 ( stolon_2c3870f3 , stolon_c874a3cb )",
			out: []string{"stolon_2c3870f3", "stolon_c874a3cb"},
		},
		{
			in:  "21 (\" stolon_2c3870f3\",stolon_c874a3cb)",
			out: []string{"\" stolon_2c3870f3\"", "stolon_c874a3cb"},
		},
		{
			in:  "stolon_2c3870f3,stolon_c874a3cb",
			out: []string{"stolon_2c3870f3", "stolon_c874a3cb"},
		},
		{
			in:  "node1",
			out: []string{"node1"},
		},
		{
			in:  "2 (node1,",
			out: []string{"node1"},
			err: errors.New("synchronous standby string has number but lacks brackets"),
		},
	}

	for i, tt := range tests {
		out, err := parseSynchronousStandbyNames(tt.in)

		if tt.err != nil {
			if err == nil {
				t.Errorf("%d: got no error, wanted error: %v", i, tt.err)
			} else if tt.err.Error() != err.Error() {
				t.Errorf("%d: got error: %v, wanted error: %v", i, err, tt.err)
			}
		} else {
			if err != nil {
				t.Errorf("%d: unexpected error: %v", i, err)
			} else if !reflect.DeepEqual(out, tt.out) {
				t.Errorf("%d: wrong output: got:\n%s\nwant:\n%s", i, out, tt.out)
			}
		}
	}
}