Added tests for search result count