added ability to disable in tests
Merge pull request #6 from jamiecurle/disable-for-tests

added ability to disable in tests