Freeze API constants
Add missing version require
Initialize default test mode in constructor