tests: fixed bug in hadoop test script