added tests for ToggleConfig class