Assert for initialize mode.
Scenarios for not configured modes.
Deprecate support for Python 2.6.
Test case to cover JSONMode.