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: sbs_test.go
    path of file: ./repos/client/go/kbfs/test
    
    the code of the file until where you have to start completion: // Copyright 2016 Keybase Inc. All rights reserved.
// Use of this source code is governed by a BSD
// license that can be found in the LICENSE file.

package test

import "testing"

// TestTlfNameChangePrivate tests that a file written to a private TLF
// with an unresolved writer becomes readable to the resolved writer
// after resolution.
//
// This is the equivalent to the TestSBSSimple docker test.
func TestTlfNameChangePrivate(t *testing.T) {
	test(t,
		users("alice", "bob", "charlie"),
		inPrivateTlf("alice,bob,charlie@twitter"),
		as(alice,
			mkfile("foo.txt", "hello world"),
		),
		as(bob,
			read("foo.txt", "hello world"),
		),
		as(charlie,
			expectError(initRoot(), "charlie does not have read access to directory /keybase/private/alice,bob,charlie@twitter"),
			noSync(),
		),

		addNewAssertion("charlie", "charlie@twitter"),
		as(alice,
			// TODO: Ideally, we wouldn't have to do this,
			// and we'd just wait for a rekey.
			rekey(),
		),

		inPrivateTlfNonCanonical("alice,bob,charlie@twitter", "alice,bob,charlie
    
func TestTlfNameChangePublic(t *testing.T) {
	test(t,
		users("alice", "bob", "charlie"),
		inPublicTlf("alice,charlie@twitter"),
		as(alice,
			mkfile("alice.txt", "hello charlie"),
		),
		as(bob,
			read("alice.txt", "hello charlie"),
			expectError(mkfile("bob.txt", "hello alice & charlie"),
				"bob does not have write access to directory /keybase/public/alice,charlie@twitter"),
			noSync(),
		),
		as(charlie,
			read("alice.txt", "hello charlie"),
			expectError(mkfile("charlie.txt", "hello alice"),
				"charlie does not have write access to directory /keybase/public/alice,charlie@twitter"),
			noSync(),
			disableUpdates(),
		),

		addNewAssertion("charlie", "charlie@twitter"),
		as(alice,
			// TODO: Ideally, we wouldn't have to do this,
			// and we'd just wait for a rekey.
			rekey(),
		),

		inPublicTlfNonCanonical(
			"alice,charlie@twitter", "alice,charlie"),
		as(charlie,
			mkfile("charlie1.txt", "hello alice1"),
		),

		inPublicTlf("alice,charlie"),
		as(charlie,
			mkfile("charlie2.txt", "hello alice2"),
		),

		inPublicTlfNonCanonical(
			"alice,charlie@twitter", "alice,charlie"),
		as(alice,
			read("charlie1.txt", "hello alice1"),
			read("charlie2.txt", "hello alice2"),
		),
		as(bob,
			read("charlie1.txt", "hello alice1"),
			read("charlie2.txt", "hello alice2"),
		),
		as(charlie,
			read("charlie1.txt", "hello alice1"),
			read("charlie2.txt", "hello alice2"),
		),

		inPublicTlf("alice,charlie"),
		as(alice,
			read("charlie1.txt", "hello alice1"),
			read("charlie2.txt", "hello alice2"),
		),
		as(bob,
			read("charlie1.txt", "hello alice1"),
			read("charlie2.txt", "hello alice2"),
		),
		as(charlie,
			read("charlie1.txt", "hello alice1"),
			read("charlie2.txt", "hello alice2"),
		),
	)
}