Make host analysis use testgen

Add hosts credentials removal
Merge pull request #787 from jkrocil/host-analysis-testgen

Host analysis - use testgen & remove host creds after test (if added beforehand)