added the search tests and functionality to return all the stats for the given author