AMBARI-7464. Make stack_advisor code more human readable - unit test fixes (srimanth)