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: deploy_test.go
    path of file: ./repos/faas-netes/pkg/handlers
    
    the code of the file until where you have to start completion: // Copyright 2020 OpenFaaS Author(s)
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

package handlers

import (
	"testing"

	"github.com/openfaas/faas-netes/pkg/k8s"
	types "github.com/openfaas/faas-provider/types"
	"k8s.io/client-go/kubernetes/fake"

	apiv1 "k8s.io/api/core/v1"
)

func Test_buildAnnotations_Empty_In_CreateRequest(t *testing.T) {
	request := types.FunctionDeployment{}

	annotations, _ := buildAnnotations(request)

	if len(annotations) != 1 {
		t.Errorf("want: %d annotations got: %d", 1, len(annotations))
	}

	v, ok := annotations["prometheus.io.scrape"]
	if !ok {
		t.Errorf("missing prometheus.io.scrape key")
	}

	wan
    
func Test_buildEnvVars_FourSortedKeys(t *testing.T) {
	firstKey := "alex"
	secondKey := "elliot"
	thirdKey := "stefan"
	lastKey := "zane"

	inputEnvs := map[string]string{
		lastKey:   "",
		firstKey:  "",
		thirdKey:  "",
		secondKey: "",
	}

	function := types.FunctionDeployment{
		EnvVars: inputEnvs,
	}

	coreEnvs := buildEnvVars(&function)

	if coreEnvs[0].Name != firstKey {
		t.Errorf("first want: %s, got: %s", firstKey, coreEnvs[0].Name)
		t.Fail()
	}

	if coreEnvs[1].Name != secondKey {
		t.Errorf("second want: %s, got: %s", secondKey, coreEnvs[1].Name)
		t.Fail()
	}

	if coreEnvs[2].Name != thirdKey {
		t.Errorf("third want: %s, got: %s", thirdKey, coreEnvs[2].Name)
		t.Fail()
	}

	if coreEnvs[3].Name != lastKey {
		t.Errorf("last want: %s, got: %s", lastKey, coreEnvs[3].Name)
		t.Fail()
	}
}