AMBARI-5614. Unit tests for steps 8. (onechiporenko)