Fixed tests that were failing when running search tests only.