DDF-199: Updated MetricsEndpointTest.java