Fixing old search tests