redirects are now followed and there are some crude tests implemented