AMBARI-8742. Implement Report graphs capability in AMS. Unit test fix. (swagle)