Added tests for the legacy redirect resource