Add test results aggregator.
Automatically queue test results to be flushed.

Resolves #4.