test_cert_sorter could fail based on test order

module scope variable was getting munged by one of the
tests, so tests that depend on it could fail if they ran
afterwards. Found with nosetests --randomize.