Added more tests

Added hostsFile tests. Added check that caching is actually preventing additional lookups. Tests be broken yo.