func TestNewS3StoreDefaults(t *testing.T) {
	log := getPanicLogger()
	md := metadata.NewNullLookupSaver()
	s3s, err := NewS3Store("key", "secret", "bucket", "us-west-2", log, md)
	if err != nil {
		t.Fatalf("%v", err)
	}

	if s3s == nil {
		t.Fatalf("OH NO")
	}
}
func TestServerDefaults(t *testing.T) {
	opts := NewOptions()
	log := getPanicLogger()

	srv, err := NewServer(opts, log, metadata.NewNullLookupSaver())
	if err != nil {
		t.Fatalf("%v", err)
	}

	if !reflect.DeepEqual(srv.opts, opts) {
		t.Fatalf("opts %v != %v", srv.opts, opts)
	}
}