Add global pollution to make tests pass
Merge pull request #8 from rymdjs/fix/tests