diff --git a/rest/handler_test.go b/rest/handler_test.go
index <HASH>..<HASH> 100644
--- a/rest/handler_test.go
+++ b/rest/handler_test.go
@@ -28,10 +28,6 @@ func TestHandler(t *testing.T) {
 			}
 			w.WriteJson(data)
 		}),
-		Get("/auto-fails", func(w ResponseWriter, r *Request) {
-			a := []int{}
-			_ = a[0]
-		}),
 		Get("/user-error", func(w ResponseWriter, r *Request) {
 			Error(w, "My error", 500)
 		}),
@@ -58,12 +54,6 @@ func TestHandler(t *testing.T) {
 	recorded.ContentTypeIsJson()
 	recorded.BodyIs(`{"Error":"Resource not found"}`)
 
-	// auto 500 on unhandled userecorder error
-	recorded = test.RunRequest(t, &handler, test.MakeSimpleRequest("GET", "http://1.2.3.4/auto-fails", nil))
-	recorded.CodeIs(500)
-	recorded.ContentTypeIsJson()
-	recorded.BodyIs(`{"Error":"Internal Server Error"}`)
-
 	// userecorder error
 	recorded = test.RunRequest(t, &handler, test.MakeSimpleRequest("GET", "http://1.2.3.4/user-error", nil))
 	recorded.CodeIs(500)
Remove duplicated recover tests

As a preparation to remove the deprecated ResourceHandler,
make sure no test is lost by dispatching the content of
handler_test.go to the right places.

This test is already in recover_test.go