added ambari unit test