Add 300s status code handling for metrics test