CLOUDIFY-2025 added debug unit test
CLOUDIFY-2025 changed how file is written in debug hook. No idea why this should make a difference, but previous version created empty files
CLOUDIFY-2025 updated test with timeout option
CLOUDIFY-2025 fixed copy paste error
CLOUDIFY-2025 additional file access code to change
CLOUDIFY-2025 added process leak scanning to unit test
CLOUDIFY-2025 use shell script instead of groovy file for test
CLOUDIFY-2025 changed file handling, trying to fix test on travis
CLOUDIFY-2025 fixed groovy typo
CLOUDIFY-2025 made file creation more robust
CLOUDIFY-2025 cleanup
CLOUDIFY-2025 cleanup