changing staticExpects to getStaticMethodMock in ConfigTest

@relwell please review this, I changed the way SearchEngine is mocked.  getStaticMethodMock was not really mocking calls to SearchEngine::method_name.