SRCH-126 SAK-23777 created a test mode that bypasses the threads to avoid Mockito issues with threading.

git-svn-id: https://source.sakaiproject.org/svn/search/trunk@129724 66ffb92e-73f9-0310-93c1-f5514f145a0a