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: v2_project_variable_test.go
    path of file: ./repos/cds/engine/api
    
    the code of the file until where you have to start completion: package api

import (
	"context"
	"encoding/json"
	"net/http/httptest"
	"testing"

	"github.com/ovh/cds/engine/api/project"
	"github.com/ovh/cds/engine/api/test"
	"github.com/ovh/cds/engine/api/test/assets"
	"github.com/ovh/
    
func TestLoadVariableSetWithItems(t *testing.T) {
	api, db, _ := newTestAPI(t)

	proj := assets.InsertTestProject(t, db, api.Cache, sdk.RandomString(10), sdk.RandomString(10))
	user1, pass := assets.InsertLambdaUser(t, db)

	assets.InsertRBAcProject(t, db, sdk.ProjectRoleManage, proj.Key, *user1)
	assets.InsertRBAcProject(t, db, sdk.ProjectRoleRead, proj.Key, *user1)

	// Create variable SET
	vs := sdk.ProjectVariableSet{
		ProjectKey: proj.Key,
		Name:       sdk.RandomString(10),
	}
	require.NoError(t, project.InsertVariableSet(context.TODO(), db, &vs))

	// ADD ITEM TEXT
	itt := sdk.ProjectVariableSetItem{
		ProjectVariableSetID: vs.ID,
		Name:                 sdk.RandomString(10),
		Type:                 sdk.ProjectVariableTypeString,
		Value:                "myValue",
	}
	require.NoError(t, project.InsertVariableSetItemText(context.TODO(), db, &itt))

	// ADD ITEM Secret
	its := sdk.ProjectVariableSetItem{
		ProjectVariableSetID: vs.ID,
		Name:                 sdk.RandomString(10),
		Type:                 sdk.ProjectVariableTypeSecret,
		Value:                "mySecretValue",
	}
	require.NoError(t, project.InsertVariableSetItemSecret(context.TODO(), db, &its))

	// Get variable set
	varsGet1 := map[string]string{
		"projectKey":      proj.Key,
		"variableSetName": vs.Name,
	}
	uriGet1 := api.Router.GetRouteV2("GET", api.getProjectVariableSetHandler, varsGet1)
	test.NotEmpty(t, uriGet1)
	reqGet1 := assets.NewAuthentifiedRequest(t, user1, pass, "GET", uriGet1, nil)
	wGet1 := httptest.NewRecorder()
	api.Router.Mux.ServeHTTP(wGet1, reqGet1)
	require.Equal(t, 200, wGet1.Code)

	var nGet sdk.ProjectVariableSet
	require.NoError(t, json.Unmarshal(wGet1.Body.Bytes(), &nGet))

	require.Equal(t, 2, len(nGet.Items))
	require.Equal(t, itt.Value, nGet.Items[0].Value)
	require.Equal(t, sdk.PasswordPlaceholder, nGet.Items[1].Value)

}