Use global setup/teardown for unittest
Merge pull request #638 from scraperwiki/fix-unit-tests

Use global setup/teardown for unittest