[ticket/11608] add functional tests for search

http://tracker.phpbb.com/browse/PHPBB3-11608

PHPBB3-11608