Fixed broken tests.
Updated tests to stop using search manager.