Add support for response pipes

Change-Id: I86905bb22ffa70b86476f0de6fa8343f687dc740
diff --git a/t/text_info.t b/t/text_info.t
index 55b9637..4107931 100644
--- a/t/text_info.t
+++ b/t/text_info.t
@@ -31,6 +31,14 @@
   ->json_is('/document/fields/0/value', 'GOE/AGI/00000')
   ;
 
+$t->get_ok('/corpus/GOE/AGI/00000?response-pipe=glemm')
+  ->status_is(200)
+  ->json_is('/document/fields/0/key', 'textSigle')
+  ->json_is('/document/fields/0/value', 'GOE/AGI/00000')
+  ->json_is('/meta/responsePipes', 'glemm')
+  ;
+
+
 # Not found - should probably be 404
 $t->get_ok('/corpus/GOE/AGY/00000')
   ->status_is(200)