Establish 'after_search' hook

Change-Id: Iac65f683d49ee342680629b1637ebd8eb6f217d7
diff --git a/t/query.t b/t/query.t
index 289cc2b..f228e57 100644
--- a/t/query.t
+++ b/t/query.t
@@ -242,7 +242,7 @@
   ;
 
 $t->app->hook(
-  before_dispatch => sub {
+  after_search => sub {
     my $c = shift;
     $c->content_for('after_search_results' => '<p id="special">Funny</p>');
   }