update core test by adding new test for custom search handler.