fixes up tests for collecting metrics