Make host analysis use testgen

Add hosts credentials removal