The test will only cover the case 'search_page' is disabled.
I think we need to add another test for the case 'search_page' is enabled.