Add unknown host detection and test