Fix bug with consts (constants had not set up)

Also add validating for setUpConsts action.
Now after stopTesting action constants are restored.
Add test for bad constant values.
Change default client constants for test mode