test redirects on Unix