Modify search implementation to fix post actions notation.
Fix test after modifying search behaviour.
Remove unused dependency.