handeling 301 redirect
test class