Allow setting of testMode via constructor and setter method
Merge pull request #4 from jvandesande/TestMode

Allow setting of testMode via constructor and setter method