Updated Slave.MetricsInStatsEndpoint test to match latest metrics.

Review: https://reviews.apache.org/r/21417
Fixed a compiler warning from stout flags.

Review: https://reviews.apache.org/r/21462