AMBARI-4557 Write unnitests for PIG install script on HDP1 and HDP2 (dsen)