Added shebang in test_link_with_redirect.py
Removing unused code