diff --git a/echo_test.go b/echo_test.go
index <HASH>..<HASH> 100644
--- a/echo_test.go
+++ b/echo_test.go
@@ -1,6 +1,7 @@
 package echo
 
 import (
+	"bufio"
 	"bytes"
 	"fmt"
 	"net/http"
@@ -41,6 +42,20 @@ func TestEcho(t *testing.T) {
 	assert.Equal(t, http.StatusInternalServerError, rec.Code)
 }
 
+func TestLogger(t *testing.T) {
+	prefix := "extremely-long-prefix-string-that-wont-exist"
+	e := New()
+
+	var b bytes.Buffer
+	out := bufio.NewWriter(&b)
+
+	e.logger.SetPrefix(prefix)
+	e.logger.SetOutput(out)
+	e.logger.Print("test")
+
+	assert.Contains(t, "extremely-long-prefix-string", b.String())
+}
+
 func TestEchoIndex(t *testing.T) {
 	e := New()
 	e.Index("_fixture/index.html")
adding tests for setting log output and prefix to make coveralls happy