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: exporter_test.go
    path of file: ./repos/plik/server/metadata
    
    the code of the file until where you have to start completion: package metadata

import (
	"testing"

	"github.com/stretchr/testify/require"

	"github.com/root-gg/plik/server/common"
)
    
func TestBackend_ExportRemovedFiles(t *testing.T) {
	b := newTestMetadataBackend()
	defer shutdownTestMetadataBackend(b)

	upload := &common.Upload{}
	upload.NewFile()
	createUpload(t, b, upload)

	// Soft delete upload
	err := b.RemoveUpload(upload.ID)
	require.NoError(t, err, "unable to delete upload")

	path := "/tmp/plik.metadata.test.snappy.gob"
	err = b.Export(path)
	require.NoError(t, err, "export error %s", err)

	shutdownTestMetadataBackend(b)
	b = newTestMetadataBackend()
	defer shutdownTestMetadataBackend(b)

	err = b.Import(path, &ImportOptions{})
	require.NoError(t, err, "import error %s", err)
}