assert_hostname does not do what I thought