AMBARI-7736. Write tests for RestMetricsPropertyProvider (aonishuk)