Test for broken query responses with BAD REQUEST status

Change-Id: Iba7b544f8cd5d8eaa403d3de0b5dc259a81a8766
diff --git a/t/remote.t b/t/remote.t
index 4828b85..e86783e 100644
--- a/t/remote.t
+++ b/t/remote.t
@@ -54,5 +54,12 @@
   ->text_is('.notify-error', '500: Internal Server Error (remote)')
   ;
 
+
+# Check for query error
+$t->get_ok('/?q=[orth=das&ql=poliqarp')
+  ->element_exists('.notify-error')
+  ->text_is('.notify-error', '302: Parantheses/brackets unbalanced.')
+  ;
+
 done_testing;
 __END__