Add explicit project builds in a few more places. Also add a dummySearch to performRefactoring method in test harness. It seems this may be needed to ensure search indexes up-to-date before proceeding with refactoring.