AMBARI-4274. ambari-agent unit test failures.(vbrodetskyi)