Fix test_dnt_redirect
Merge pull request #340 from jgmize/fix-test_dnt_redirect

Fix test_dnt_redirect