diff --git a/routing/dht/dht_test.go b/routing/dht/dht_test.go
index 3b8f7f7d11765c5a3e21a6c28c8361bf2994db88..f532308644850b5964cc3c04431459c105ecc7d4 100644
--- a/routing/dht/dht_test.go
+++ b/routing/dht/dht_test.go
@@ -11,6 +11,7 @@ import (
 	swarm "github.com/jbenet/go-ipfs/swarm"
 	u "github.com/jbenet/go-ipfs/util"
 
+	"bytes"
 	"fmt"
 	"time"
 )
@@ -179,6 +180,7 @@ func TestValueGetSet(t *testing.T) {
 	if string(val) != "world" {
 		t.Fatalf("Expected 'world' got '%s'", string(val))
 	}
+
 }
 
 func TestProvides(t *testing.T) {
@@ -206,6 +208,11 @@ func TestProvides(t *testing.T) {
 		t.Fatal(err)
 	}
 
+	bits, err := dhts[3].getLocal(u.Key("hello"))
+	if err != nil && bytes.Equal(bits, []byte("world")) {
+		t.Fatal(err)
+	}
+
 	err = dhts[3].Provide(u.Key("hello"))
 	if err != nil {
 		t.Fatal(err)