Fix error reporting of non-json error responses

Change-Id: I19f67e92b09a41db09509b3b07e04ef2f8a7d2a2
diff --git a/t/remote.t b/t/remote.t
index ccb4f67..4828b85 100644
--- a/t/remote.t
+++ b/t/remote.t
@@ -48,7 +48,11 @@
   ;
 
 
-
+# Check for server error
+$t->get_ok('/?q=server_fail&ql=poliqarp')
+  ->element_exists('.notify-error')
+  ->text_is('.notify-error', '500: Internal Server Error (remote)')
+  ;
 
 done_testing;
 __END__