redirect - add unit test.
redirect add unit test for controller.
Merge pull request #210 from forumbyr/master

redirect - add unit test.