It tests that `insertMetrics` honors the specified TTLs.