HUE-1631 Fix oozie and pig tests

HUE-1631 broke a few tests. This commit rectifies them.