YARN-1395: add test run of distributed shell with -debug flag