test(state): getConfig
feat(state): getConfig