Search controller test fix.

(ActionItem2587)

Signed-off-by: Luiz Matos <luizff.matos@gmail.com>
Signed-off-by: Tales Martins <tales.martins@gmail.com>