Fixed false positive in tests (due to caching between tests)
Some debug messages added.

Signed-off-by: marcanpilami <marsu_pilami@msn.com>
Regression: running the same job with internal libs would crash the second time

Signed-off-by: marcanpilami <marsu_pilami@msn.com>
Separated node name from dns name. Fixes #27

Signed-off-by: marcanpilami <marsu_pilami@msn.com>