improve tests - address issue of having to follow redirects