add fetch_top_categories to tests