Fixes #15

This is tested in my work and allows to aggregate the stats from all tests properly.