Replace all live http:// tests in test_distributions.py with file:// tes...

...ts.

I also made some PEP-8 fixes.