Fix some tests esp around xml output
Only have the (c) message once
Test hostcmp