changed testing to local, experimenting with aggregations for search results