Part fifteen of a series of posts about automated testing.
Global state can cause problems with testing.
Each time this is called from tests, the result will be different:
Depending on the order these tests get run, one will fail.
The answer is to change the code to avoid global state, and then the code can be initialized correctly for the tests.