Don't generate secret token in test mode.
Don't raise secret token generation error during tests.
Bump version