Collect test metrics