dynamically loading URLs in tests, PEP8 changes to formatting of tests