Some critical bug fixes to HomologySearchJob.
Added HomologySearchJobTest.