update tests for logging redirects
Merge pull request #271 from javenwang/log

update tests for logging redirects