Add checks before using the testing scope
Merge pull request #44 from alancutter/checkTestingVariable

Add checks before using the testing scope