Improved code coverage of Search Entity