Move aggregator test into the HTML file