fix redirect test
fix travis