Fixed CPS default Test Mode

Added setter/getter for testMode
Merge pull request #6 from toyfoundry/Fix-CPS-TestMode

Fixed CPS default Test Mode