host pattern tests