use host, nnot url
fixed, tests passing