checking for 301 and 302 in test_localization.py
Merge pull request #176 from retornam/testlocalizationfix

checking for 301 and 302 in test_localization.py