func TestReserve(t *testing.T) {
	runtime.GOMAXPROCS(runtime.NumCPU())
	go consumer(10, t)
	go producer(100, t)
	time.Sleep(15 * time.Second)
}
put & reserve-with-timeout & delete & quit
package beanstalkd
import (
	"fmt"
	"runtime"
	"strconv"
	"testing"
	"time"
)
func TestListTubes(t *testing.T) {
	queue := dial(t)
	tubes, err := queue.ListTubes()
	if err != nil {
		t.Fatal(err)
	}
	fmt.Println(fmt.Sprintf("%#v", tubes))
	queue.Quit()
}
func TestPut(t *testing.T) {
	runtime.GOMAXPROCS(runtime.NumCPU())
	go consumer(0, t)
	go producer(1, t)
	time.Sleep(1 * time.Second)
}