add redirect test
Merge pull request #13 from jydo/copy

add redirect test