Test metrics collection