Fix metrics servlet test