Move search tests into their own file